package com.gc.server.dao;

import com.gc.server.entity.DayOffEntity;
import com.gc.server.vo.DayOffVo;
import org.apache.ibatis.annotations.Mapper;
import com.yf.dao.BaseDao;

import java.util.Date;
import java.util.List;
/**
 * 节假日Dao
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Thu Oct 22 09:16:32 CST 2020
 */
@Mapper
public interface DayOffDao extends BaseDao<DayOffEntity> {

    List<DayOffVo> findVo(DayOffVo vo);

    DayOffVo getVo(Long id);


    List<DayOffEntity> findByDate(Date start, Date end);
}
